.class public Lcom/esfile/screen/recorder/videos/edit/ui/b;
.super Landroid/view/View;
.source "SnippetSeekBar.java"


# annotations
.annotation build Landroid/annotation/TargetApi;
    value = 0x10
.end annotation

.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/esfile/screen/recorder/videos/edit/ui/b$b;,
        Lcom/esfile/screen/recorder/videos/edit/ui/b$c;,
        Lcom/esfile/screen/recorder/videos/edit/ui/b$e;,
        Lcom/esfile/screen/recorder/videos/edit/ui/b$d;,
        Lcom/esfile/screen/recorder/videos/edit/ui/b$f;,
        Lcom/esfile/screen/recorder/videos/edit/ui/b$g;
    }
.end annotation


# instance fields
.field private A:Lcom/esfile/screen/recorder/videos/edit/ui/b$d;

.field private B:Lcom/esfile/screen/recorder/videos/edit/ui/b$e;

.field private C:Lcom/esfile/screen/recorder/videos/edit/ui/b$c;

.field private D:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/esfile/screen/recorder/videos/edit/ui/b$g;",
            ">;"
        }
    .end annotation
.end field

.field private E:Lcom/esfile/screen/recorder/videos/edit/ui/b$b;

.field private a:J

.field private b:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/esfile/screen/recorder/videos/edit/ui/b$g;",
            ">;"
        }
    .end annotation
.end field

.field private c:J

.field private d:I

.field private e:Landroid/graphics/Rect;

.field private f:Landroid/graphics/Paint;

.field private g:I

.field private h:I

.field private i:Landroid/graphics/Paint;

.field private j:Landroid/graphics/Bitmap;

.field private k:Landroid/graphics/Rect;

.field private l:Landroid/graphics/Paint;

.field private m:Landroid/graphics/Bitmap;

.field private n:Landroid/graphics/Bitmap;

.field private o:I

.field private p:Landroid/graphics/Paint;

.field private q:F

.field private r:F

.field private s:F

.field private t:Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

.field private u:Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

.field private v:Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

.field private w:I

.field private x:Lcom/esfile/screen/recorder/videos/edit/ui/b$f;

.field private y:Landroid/os/Handler;
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "HandlerLeak"
        }
    .end annotation
.end field

.field private z:Z


# direct methods
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .locals 0

    .line 1
    invoke-direct {p0, p1, p2, p3}, Landroid/view/View;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    .line 2
    new-instance p1, Ljava/util/ArrayList;

    invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V

    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->b:Ljava/util/List;

    const-wide/16 p1, 0x0

    .line 3
    iput-wide p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->c:J

    const/4 p1, 0x0

    .line 4
    iput p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->d:I

    const p2, -0x69dd8b1a

    .line 5
    iput p2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->g:I

    .line 6
    iput p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->h:I

    const/4 p2, 0x4

    .line 7
    iput p2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->o:I

    const/high16 p2, 0x3f800000    # 1.0f

    .line 8
    iput p2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->q:F

    const/high16 p2, -0x40800000    # -1.0f

    .line 9
    iput p2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->r:F

    .line 10
    iput p2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->s:F

    .line 11
    new-instance p2, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;

    invoke-direct {p2, p0}, Lcom/esfile/screen/recorder/videos/edit/ui/b$a;-><init>(Lcom/esfile/screen/recorder/videos/edit/ui/b;)V

    iput-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->y:Landroid/os/Handler;

    .line 12
    iput-boolean p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->z:Z

    .line 13
    new-instance p1, Ljava/util/ArrayList;

    invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V

    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->D:Ljava/util/List;

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/videos/edit/ui/b;)Landroid/os/Handler;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->y:Landroid/os/Handler;

    return-object p0
.end method

.method private a(Landroid/graphics/Canvas;)V
    .locals 5

    .line 42
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->i:Landroid/graphics/Paint;

    if-nez v0, :cond_0

    .line 43
    new-instance v0, Landroid/graphics/Paint;

    const/4 v1, 0x1

    invoke-direct {v0, v1}, Landroid/graphics/Paint;-><init>(I)V

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->i:Landroid/graphics/Paint;

    .line 44
    :cond_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->j:Landroid/graphics/Bitmap;

    if-nez v0, :cond_1

    .line 45
    invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    sget v1, Les/w4;->durec_snippet_seekbar_needle:I

    invoke-static {v0, v1}, Landroid/graphics/BitmapFactory;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->j:Landroid/graphics/Bitmap;

    .line 46
    :cond_1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->k:Landroid/graphics/Rect;

    if-nez v0, :cond_2

    .line 47
    new-instance v0, Landroid/graphics/Rect;

    invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->k:Landroid/graphics/Rect;

    .line 48
    invoke-virtual {p0}, Landroid/view/View;->getWidth()I

    move-result v1

    div-int/lit8 v1, v1, 0x2

    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->j:Landroid/graphics/Bitmap;

    invoke-virtual {v2}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v2

    div-int/lit8 v2, v2, 0x2

    sub-int/2addr v1, v2

    const/4 v2, 0x0

    .line 49
    invoke-virtual {p0}, Landroid/view/View;->getWidth()I

    move-result v3

    div-int/lit8 v3, v3, 0x2

    iget-object v4, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->j:Landroid/graphics/Bitmap;

    invoke-virtual {v4}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v4

    div-int/lit8 v4, v4, 0x2

    add-int/2addr v3, v4

    invoke-virtual {p0}, Landroid/view/View;->getHeight()I

    move-result v4

    .line 50
    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/graphics/Rect;->set(IIII)V

    .line 51
    :cond_2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->j:Landroid/graphics/Bitmap;

    const/4 v1, 0x0

    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->k:Landroid/graphics/Rect;

    iget-object v3, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->i:Landroid/graphics/Paint;

    invoke-virtual {p1, v0, v1, v2, v3}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;Landroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Paint;)V

    return-void
.end method

.method private a(Landroid/graphics/Canvas;Lcom/esfile/screen/recorder/videos/edit/ui/b$g;)V
    .locals 6

    .line 29
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->e:Landroid/graphics/Rect;

    if-nez v0, :cond_0

    .line 30
    new-instance v0, Landroid/graphics/Rect;

    invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->e:Landroid/graphics/Rect;

    .line 31
    :cond_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->f:Landroid/graphics/Paint;

    if-nez v0, :cond_1

    .line 32
    new-instance v0, Landroid/graphics/Paint;

    const/4 v1, 0x1

    invoke-direct {v0, v1}, Landroid/graphics/Paint;-><init>(I)V

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->f:Landroid/graphics/Paint;

    .line 33
    iget v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->g:I

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setColor(I)V

    .line 34
    :cond_1
    invoke-virtual {p0}, Landroid/view/View;->getWidth()I

    move-result v0

    .line 35
    invoke-virtual {p0}, Landroid/view/View;->getHeight()I

    move-result v1

    .line 36
    iget v2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->h:I

    if-nez v2, :cond_2

    move v2, v1

    :cond_2
    sub-int/2addr v1, v2

    .line 37
    iget v3, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->o:I

    sub-int/2addr v1, v3

    add-int/2addr v2, v1

    .line 38
    iget-wide v3, p2, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;->b:J

    invoke-direct {p0, v3, v4}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->g(J)F

    move-result v3

    iget v4, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->d:I

    int-to-float v4, v4

    sub-float/2addr v3, v4

    div-int/lit8 v0, v0, 0x2

    int-to-float v0, v0

    add-float/2addr v3, v0

    .line 39
    iget-wide v4, p2, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;->c:J

    invoke-direct {p0, v4, v5}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->g(J)F

    move-result p2

    iget v4, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->d:I

    int-to-float v4, v4

    sub-float/2addr p2, v4

    add-float/2addr p2, v0

    .line 40
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->e:Landroid/graphics/Rect;

    float-to-int v3, v3

    float-to-int p2, p2

    invoke-virtual {v0, v3, v1, p2, v2}, Landroid/graphics/Rect;->set(IIII)V

    .line 41
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->e:Landroid/graphics/Rect;

    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->f:Landroid/graphics/Paint;

    invoke-virtual {p1, p2, v0}, Landroid/graphics/Canvas;->drawRect(Landroid/graphics/Rect;Landroid/graphics/Paint;)V

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/videos/edit/ui/b;F)V
    .locals 0

    .line 2
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->c(F)V

    return-void
.end method

.method private b(F)J
    .locals 4

    .line 51
    invoke-virtual {p0}, Landroid/view/View;->getWidth()I

    move-result v0

    div-int/lit8 v0, v0, 0x2

    int-to-float v0, v0

    sub-float/2addr p1, v0

    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->q:F

    div-float/2addr p1, v0

    float-to-long v0, p1

    const-wide/16 v2, 0x0

    cmp-long p1, v0, v2

    if-gez p1, :cond_0

    :goto_0
    move-wide v0, v2

    goto :goto_1

    .line 52
    :cond_0
    iget-wide v2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->a:J

    cmp-long p1, v0, v2

    if-lez p1, :cond_1

    goto :goto_0

    :cond_1
    :goto_1
    return-wide v0
.end method

.method static synthetic b(Lcom/esfile/screen/recorder/videos/edit/ui/b;F)J
    .locals 0

    .line 2
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->b(F)J

    move-result-wide p0

    return-wide p0
.end method

.method static synthetic b(Lcom/esfile/screen/recorder/videos/edit/ui/b;)Lcom/esfile/screen/recorder/videos/edit/ui/b$g;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->t:Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    return-object p0
.end method

.method private b(Landroid/graphics/Canvas;Lcom/esfile/screen/recorder/videos/edit/ui/b$g;)V
    .locals 9

    .line 13
    invoke-virtual {p0}, Landroid/view/View;->getWidth()I

    move-result v0

    .line 14
    invoke-virtual {p0}, Landroid/view/View;->getHeight()I

    move-result v1

    .line 15
    iget v2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->h:I

    if-nez v2, :cond_0

    move v2, v1

    :cond_0
    sub-int/2addr v1, v2

    .line 16
    iget v3, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->o:I

    sub-int/2addr v1, v3

    add-int/2addr v2, v1

    .line 17
    iget-wide v3, p2, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;->b:J

    invoke-direct {p0, v3, v4}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->g(J)F

    move-result v3

    iget v4, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->d:I

    int-to-float v4, v4

    sub-float/2addr v3, v4

    const/4 v4, 0x2

    div-int/2addr v0, v4

    int-to-float v0, v0

    add-float/2addr v3, v0

    .line 18
    iget-wide v5, p2, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;->c:J

    invoke-direct {p0, v5, v6}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->g(J)F

    move-result v5

    iget v6, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->d:I

    int-to-float v6, v6

    sub-float/2addr v5, v6

    add-float/2addr v5, v0

    .line 19
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->l:Landroid/graphics/Paint;

    const/4 v6, 0x1

    if-nez v0, :cond_1

    .line 20
    new-instance v0, Landroid/graphics/Paint;

    invoke-direct {v0, v6}, Landroid/graphics/Paint;-><init>(I)V

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->l:Landroid/graphics/Paint;

    .line 21
    :cond_1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->m:Landroid/graphics/Bitmap;

    if-nez v0, :cond_2

    .line 22
    invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    sget v7, Les/w4;->durec_snippet_slider_normal:I

    invoke-static {v0, v7}, Landroid/graphics/BitmapFactory;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->m:Landroid/graphics/Bitmap;

    .line 23
    :cond_2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->n:Landroid/graphics/Bitmap;

    if-nez v0, :cond_3

    .line 24
    invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    sget v7, Les/w4;->durec_snippet_slider_press:I

    invoke-static {v0, v7}, Landroid/graphics/BitmapFactory;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->n:Landroid/graphics/Bitmap;

    .line 25
    :cond_3
    invoke-virtual {p0}, Landroid/view/View;->getWidth()I

    move-result v0

    div-int/2addr v0, v4

    int-to-float v0, v0

    const/4 v7, 0x0

    cmpg-float v0, v3, v0

    if-gtz v0, :cond_4

    invoke-virtual {p0}, Landroid/view/View;->getWidth()I

    move-result v0

    div-int/2addr v0, v4

    int-to-float v0, v0

    cmpl-float v0, v5, v0

    if-ltz v0, :cond_4

    const/4 v0, 0x1

    goto :goto_0

    :cond_4
    const/4 v0, 0x0

    .line 26
    :goto_0
    iget-object v8, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->t:Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    if-ne v8, p2, :cond_7

    .line 27
    iget p2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->w:I

    const/4 v8, 0x0

    if-ne p2, v6, :cond_5

    .line 28
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->e:Landroid/graphics/Rect;

    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->n:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v0

    int-to-float v0, v0

    sub-float v0, v3, v0

    float-to-int v0, v0

    float-to-int v4, v3

    invoke-virtual {p2, v0, v1, v4, v2}, Landroid/graphics/Rect;->set(IIII)V

    .line 29
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->n:Landroid/graphics/Bitmap;

    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->e:Landroid/graphics/Rect;

    iget-object v4, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->l:Landroid/graphics/Paint;

    invoke-virtual {p1, p2, v8, v0, v4}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;Landroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Paint;)V

    .line 30
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->e:Landroid/graphics/Rect;

    float-to-int v0, v5

    iget-object v4, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->m:Landroid/graphics/Bitmap;

    invoke-virtual {v4}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v4

    int-to-float v4, v4

    add-float/2addr v4, v5

    float-to-int v4, v4

    invoke-virtual {p2, v0, v1, v4, v2}, Landroid/graphics/Rect;->set(IIII)V

    .line 31
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->m:Landroid/graphics/Bitmap;

    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->e:Landroid/graphics/Rect;

    iget-object v4, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->l:Landroid/graphics/Paint;

    invoke-virtual {p1, p2, v8, v0, v4}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;Landroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Paint;)V

    :goto_1
    const/4 v7, 0x1

    goto :goto_2

    :cond_5
    if-ne p2, v4, :cond_6

    .line 32
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->e:Landroid/graphics/Rect;

    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->m:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v0

    int-to-float v0, v0

    sub-float v0, v3, v0

    float-to-int v0, v0

    float-to-int v4, v3

    invoke-virtual {p2, v0, v1, v4, v2}, Landroid/graphics/Rect;->set(IIII)V

    .line 33
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->m:Landroid/graphics/Bitmap;

    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->e:Landroid/graphics/Rect;

    iget-object v4, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->l:Landroid/graphics/Paint;

    invoke-virtual {p1, p2, v8, v0, v4}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;Landroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Paint;)V

    .line 34
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->e:Landroid/graphics/Rect;

    float-to-int v0, v5

    iget-object v4, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->n:Landroid/graphics/Bitmap;

    invoke-virtual {v4}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v4

    int-to-float v4, v4

    add-float/2addr v4, v5

    float-to-int v4, v4

    invoke-virtual {p2, v0, v1, v4, v2}, Landroid/graphics/Rect;->set(IIII)V

    .line 35
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->n:Landroid/graphics/Bitmap;

    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->e:Landroid/graphics/Rect;

    iget-object v4, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->l:Landroid/graphics/Paint;

    invoke-virtual {p1, p2, v8, v0, v4}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;Landroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Paint;)V

    goto :goto_1

    :cond_6
    if-eqz v0, :cond_7

    .line 36
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->e:Landroid/graphics/Rect;

    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->m:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v0

    int-to-float v0, v0

    sub-float v0, v3, v0

    float-to-int v0, v0

    float-to-int v4, v3

    invoke-virtual {p2, v0, v1, v4, v2}, Landroid/graphics/Rect;->set(IIII)V

    .line 37
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->m:Landroid/graphics/Bitmap;

    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->e:Landroid/graphics/Rect;

    iget-object v4, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->l:Landroid/graphics/Paint;

    invoke-virtual {p1, p2, v8, v0, v4}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;Landroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Paint;)V

    .line 38
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->e:Landroid/graphics/Rect;

    float-to-int v0, v5

    iget-object v4, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->m:Landroid/graphics/Bitmap;

    invoke-virtual {v4}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v4

    int-to-float v4, v4

    add-float/2addr v4, v5

    float-to-int v4, v4

    invoke-virtual {p2, v0, v1, v4, v2}, Landroid/graphics/Rect;->set(IIII)V

    .line 39
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->m:Landroid/graphics/Bitmap;

    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->e:Landroid/graphics/Rect;

    iget-object v4, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->l:Landroid/graphics/Paint;

    invoke-virtual {p1, p2, v8, v0, v4}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;Landroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Paint;)V

    goto :goto_1

    .line 40
    :cond_7
    :goto_2
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->p:Landroid/graphics/Paint;

    if-nez p2, :cond_8

    .line 41
    new-instance p2, Landroid/graphics/Paint;

    invoke-direct {p2, v6}, Landroid/graphics/Paint;-><init>(I)V

    iput-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->p:Landroid/graphics/Paint;

    const v0, -0xdd8b1a

    .line 42
    invoke-virtual {p2, v0}, Landroid/graphics/Paint;->setColor(I)V

    :cond_8
    if-eqz v7, :cond_9

    .line 43
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->e:Landroid/graphics/Rect;

    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->m:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v0

    int-to-float v0, v0

    sub-float v0, v3, v0

    float-to-int v0, v0

    iget v4, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->o:I

    sub-int v4, v1, v4

    iget-object v6, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->m:Landroid/graphics/Bitmap;

    .line 44
    invoke-virtual {v6}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v6

    int-to-float v6, v6

    add-float/2addr v6, v5

    float-to-int v6, v6

    .line 45
    invoke-virtual {p2, v0, v4, v6, v1}, Landroid/graphics/Rect;->set(IIII)V

    .line 46
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->e:Landroid/graphics/Rect;

    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->p:Landroid/graphics/Paint;

    invoke-virtual {p1, p2, v0}, Landroid/graphics/Canvas;->drawRect(Landroid/graphics/Rect;Landroid/graphics/Paint;)V

    .line 47
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->e:Landroid/graphics/Rect;

    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->m:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v0

    int-to-float v0, v0

    sub-float/2addr v3, v0

    float-to-int v0, v3

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->m:Landroid/graphics/Bitmap;

    .line 48
    invoke-virtual {v1}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v1

    int-to-float v1, v1

    add-float/2addr v5, v1

    float-to-int v1, v5

    iget v3, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->o:I

    add-int/2addr v3, v2

    .line 49
    invoke-virtual {p2, v0, v2, v1, v3}, Landroid/graphics/Rect;->set(IIII)V

    .line 50
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->e:Landroid/graphics/Rect;

    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->p:Landroid/graphics/Paint;

    invoke-virtual {p1, p2, v0}, Landroid/graphics/Canvas;->drawRect(Landroid/graphics/Rect;Landroid/graphics/Paint;)V

    :cond_9
    return-void
.end method

.method private b(Lcom/esfile/screen/recorder/videos/edit/ui/b$g;)V
    .locals 6

    .line 7
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->D:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->remove(Ljava/lang/Object;)Z

    const/4 v0, 0x0

    .line 8
    :goto_0
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->D:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    if-ge v0, v1, :cond_1

    .line 9
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->D:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    iget-wide v1, v1, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;->a:J

    iget-wide v3, p1, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;->a:J

    cmp-long v5, v1, v3

    if-lez v5, :cond_0

    goto :goto_1

    :cond_0
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 10
    :cond_1
    :goto_1
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->D:Ljava/util/List;

    invoke-interface {v1, v0, p1}, Ljava/util/List;->add(ILjava/lang/Object;)V

    .line 11
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->E:Lcom/esfile/screen/recorder/videos/edit/ui/b$b;

    if-eqz v0, :cond_2

    .line 12
    invoke-interface {v0, p1}, Lcom/esfile/screen/recorder/videos/edit/ui/b$b;->c(Lcom/esfile/screen/recorder/videos/edit/ui/b$g;)V

    :cond_2
    return-void
.end method

.method static synthetic c(Lcom/esfile/screen/recorder/videos/edit/ui/b;)F
    .locals 0

    .line 1
    iget p0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->r:F

    return p0
.end method

.method private c()V
    .locals 3

    .line 19
    invoke-virtual {p0}, Landroid/view/View;->getWidth()I

    move-result v0

    .line 20
    iget v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->d:I

    if-gez v1, :cond_0

    const/4 v1, 0x0

    .line 21
    iput v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->d:I

    .line 22
    :cond_0
    iget-wide v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->a:J

    invoke-direct {p0, v1, v2}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->g(J)F

    move-result v1

    float-to-int v1, v1

    add-int/2addr v1, v0

    .line 23
    iget v2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->d:I

    add-int/2addr v2, v0

    if-le v2, v1, :cond_1

    sub-int/2addr v1, v0

    .line 24
    iput v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->d:I

    :cond_1
    return-void
.end method

.method private c(F)V
    .locals 2

    const v0, -0x43dc28f6    # -0.01f

    cmpl-float v0, p1, v0

    if-lez v0, :cond_0

    const v0, 0x3c23d70a    # 0.01f

    cmpg-float v0, p1, v0

    if-gez v0, :cond_0

    return-void

    .line 10
    :cond_0
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->d:I

    int-to-float v1, v0

    add-float/2addr v1, p1

    const/high16 p1, 0x3f000000    # 0.5f

    add-float/2addr v1, p1

    float-to-int p1, v1

    .line 11
    iput p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->d:I

    .line 12
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->c()V

    .line 13
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->B:Lcom/esfile/screen/recorder/videos/edit/ui/b$e;

    if-eqz p1, :cond_1

    .line 14
    iget v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->d:I

    sub-int/2addr v1, v0

    invoke-interface {p1, v1}, Lcom/esfile/screen/recorder/videos/edit/ui/b$e;->a(I)V

    .line 15
    :cond_1
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->C:Lcom/esfile/screen/recorder/videos/edit/ui/b$c;

    if-eqz p1, :cond_2

    .line 16
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->getCenterNeedleValue()J

    move-result-wide v0

    .line 17
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->C:Lcom/esfile/screen/recorder/videos/edit/ui/b$c;

    invoke-interface {p1, v0, v1}, Lcom/esfile/screen/recorder/videos/edit/ui/b$c;->a(J)V

    .line 18
    :cond_2
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->f()V

    return-void
.end method

.method private c(Lcom/esfile/screen/recorder/videos/edit/ui/b$g;)V
    .locals 1

    .line 5
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->D:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->isEmpty()Z

    move-result v0

    if-eqz v0, :cond_0

    return-void

    .line 6
    :cond_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->D:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 7
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->D:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->remove(Ljava/lang/Object;)Z

    .line 8
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->E:Lcom/esfile/screen/recorder/videos/edit/ui/b$b;

    if-eqz v0, :cond_1

    .line 9
    invoke-interface {v0, p1}, Lcom/esfile/screen/recorder/videos/edit/ui/b$b;->a(Lcom/esfile/screen/recorder/videos/edit/ui/b$g;)V

    :cond_1
    return-void
.end method

.method static synthetic d(Lcom/esfile/screen/recorder/videos/edit/ui/b;)F
    .locals 0

    .line 1
    iget p0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->s:F

    return p0
.end method

.method private d()V
    .locals 2

    .line 11
    iget-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->z:Z

    if-nez v0, :cond_0

    const/4 v0, 0x1

    .line 12
    iput-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->z:Z

    .line 13
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->y:Landroid/os/Handler;

    const/16 v1, 0x44

    invoke-virtual {v0, v1}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    :cond_0
    return-void
.end method

.method private d(Lcom/esfile/screen/recorder/videos/edit/ui/b$g;)V
    .locals 5

    .line 14
    iget-wide v0, p1, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;->b:J

    invoke-direct {p0, v0, v1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->f(J)F

    move-result v0

    iget v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->d:I

    int-to-float v1, v1

    sub-float/2addr v0, v1

    .line 15
    iget-wide v1, p1, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;->c:J

    invoke-direct {p0, v1, v2}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->f(J)F

    move-result p1

    iget v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->d:I

    int-to-float v1, v1

    sub-float/2addr p1, v1

    .line 16
    invoke-virtual {p0}, Landroid/view/View;->getWidth()I

    move-result v1

    const/4 v2, 0x2

    div-int/2addr v1, v2

    const/4 v3, 0x1

    sub-int/2addr v1, v3

    int-to-float v1, v1

    cmpg-float v1, v0, v1

    if-gtz v1, :cond_0

    invoke-virtual {p0}, Landroid/view/View;->getWidth()I

    move-result v1

    div-int/2addr v1, v2

    add-int/2addr v1, v3

    int-to-float v1, v1

    cmpl-float v1, p1, v1

    if-ltz v1, :cond_0

    return-void

    .line 17
    :cond_0
    iget v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->w:I

    const/high16 v4, 0x3f800000    # 1.0f

    if-ne v1, v3, :cond_1

    .line 18
    invoke-virtual {p0}, Landroid/view/View;->getWidth()I

    move-result p1

    div-int/2addr p1, v2

    int-to-float p1, p1

    sub-float/2addr v0, p1

    add-float/2addr v0, v4

    invoke-direct {p0, v0}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->c(F)V

    goto :goto_0

    :cond_1
    if-ne v1, v2, :cond_2

    .line 19
    invoke-virtual {p0}, Landroid/view/View;->getWidth()I

    move-result v0

    div-int/2addr v0, v2

    int-to-float v0, v0

    sub-float/2addr p1, v0

    sub-float/2addr p1, v4

    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->c(F)V

    :cond_2
    :goto_0
    return-void
.end method

.method static synthetic e(Lcom/esfile/screen/recorder/videos/edit/ui/b;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->w:I

    return p0
.end method

.method private e()V
    .locals 2

    const/4 v0, 0x0

    .line 2
    iput-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->z:Z

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->y:Landroid/os/Handler;

    const/16 v1, 0x44

    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeMessages(I)V

    return-void
.end method

.method private f(J)F
    .locals 0

    long-to-float p1, p1

    .line 2
    iget p2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->q:F

    mul-float p1, p1, p2

    invoke-virtual {p0}, Landroid/view/View;->getWidth()I

    move-result p2

    div-int/lit8 p2, p2, 0x2

    int-to-float p2, p2

    add-float/2addr p1, p2

    return p1
.end method

.method static synthetic f(Lcom/esfile/screen/recorder/videos/edit/ui/b;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->d:I

    return p0
.end method

.method private f()V
    .locals 3

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->D:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_1

    .line 4
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->D:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    :goto_0
    if-ltz v0, :cond_1

    .line 5
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->D:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    .line 6
    invoke-virtual {p0, v1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->a(Lcom/esfile/screen/recorder/videos/edit/ui/b$g;)Z

    move-result v2

    xor-int/lit8 v2, v2, 0x1

    if-eqz v2, :cond_0

    .line 7
    invoke-direct {p0, v1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->c(Lcom/esfile/screen/recorder/videos/edit/ui/b$g;)V

    :cond_0
    add-int/lit8 v0, v0, -0x1

    goto :goto_0

    .line 8
    :cond_1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->b:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_2
    :goto_1
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_3

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    .line 9
    invoke-virtual {p0, v1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->a(Lcom/esfile/screen/recorder/videos/edit/ui/b$g;)Z

    move-result v2

    if-eqz v2, :cond_2

    .line 10
    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->D:Ljava/util/List;

    invoke-interface {v2, v1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_2

    .line 11
    invoke-direct {p0, v1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->b(Lcom/esfile/screen/recorder/videos/edit/ui/b$g;)V

    goto :goto_1

    :cond_3
    return-void
.end method

.method private g(J)F
    .locals 0

    long-to-float p1, p1

    .line 2
    iget p2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->q:F

    mul-float p1, p1, p2

    return p1
.end method

.method static synthetic g(Lcom/esfile/screen/recorder/videos/edit/ui/b;)Lcom/esfile/screen/recorder/videos/edit/ui/b$d;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->A:Lcom/esfile/screen/recorder/videos/edit/ui/b$d;

    return-object p0
.end method

.method private getSliderWidth()I
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->m:Landroid/graphics/Bitmap;

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v0

    return v0

    :cond_0
    const/16 v0, 0x32

    return v0
.end method

.method static synthetic h(Lcom/esfile/screen/recorder/videos/edit/ui/b;)Lcom/esfile/screen/recorder/videos/edit/ui/b$f;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->x:Lcom/esfile/screen/recorder/videos/edit/ui/b$f;

    return-object p0
.end method

.method static synthetic i(Lcom/esfile/screen/recorder/videos/edit/ui/b;)J
    .locals 2

    .line 1
    iget-wide v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->a:J

    return-wide v0
.end method


# virtual methods
.method public a(J)J
    .locals 2

    .line 3
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->getCenterNeedleValue()J

    move-result-wide v0

    .line 4
    invoke-virtual {p0, v0, v1, p1, p2}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->a(JJ)J

    move-result-wide p1

    return-wide p1
.end method

.method public a(JJ)J
    .locals 10

    .line 5
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->A:Lcom/esfile/screen/recorder/videos/edit/ui/b$d;

    if-eqz v0, :cond_0

    iget-wide v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->a:J

    invoke-virtual {v0, p1, p2, v1, v2}, Lcom/esfile/screen/recorder/videos/edit/ui/b$d;->b(JJ)J

    move-result-wide v0

    goto :goto_0

    :cond_0
    iget-wide v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->a:J

    sub-long/2addr v0, p1

    :goto_0
    cmp-long v2, v0, p3

    if-gez v2, :cond_1

    move-wide p3, v0

    :cond_1
    add-long/2addr p3, p1

    .line 6
    iget-wide v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->a:J

    cmp-long v2, p3, v0

    if-lez v2, :cond_2

    move-wide v8, v0

    goto :goto_1

    :cond_2
    move-wide v8, p3

    .line 7
    :goto_1
    iget-wide p3, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->c:J

    const-wide/16 v0, 0x1

    add-long/2addr v0, p3

    iput-wide v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->c:J

    .line 8
    new-instance v0, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    move-object v3, v0

    move-wide v4, p3

    move-wide v6, p1

    invoke-direct/range {v3 .. v9}, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;-><init>(JJJ)V

    .line 9
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;->a()V

    .line 10
    iget-wide p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->a:J

    invoke-virtual {v0, p1, p2}, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;->a(J)V

    .line 11
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->b:Ljava/util/List;

    invoke-interface {p1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 12
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->b:Ljava/util/List;

    invoke-static {p1}, Ljava/util/Collections;->sort(Ljava/util/List;)V

    const/4 p1, 0x0

    .line 13
    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->u:Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    .line 14
    invoke-direct {p0, v0}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->b(Lcom/esfile/screen/recorder/videos/edit/ui/b$g;)V

    .line 15
    invoke-virtual {p0}, Landroid/view/View;->invalidate()V

    return-wide p3
.end method

.method public a()Lcom/esfile/screen/recorder/videos/edit/ui/b$g;
    .locals 4

    .line 52
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->t:Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    .line 53
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->v:Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    const/4 v2, 0x0

    if-eqz v1, :cond_0

    .line 54
    iput-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->t:Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    goto :goto_1

    .line 55
    :cond_0
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->u:Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    if-eqz v1, :cond_1

    invoke-virtual {p0, v1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->a(Lcom/esfile/screen/recorder/videos/edit/ui/b$g;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 56
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->u:Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    iput-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->t:Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    goto :goto_1

    .line 57
    :cond_1
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->D:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->isEmpty()Z

    move-result v1

    if-eqz v1, :cond_2

    move-object v1, v2

    goto :goto_0

    :cond_2
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->D:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v3

    add-int/lit8 v3, v3, -0x1

    invoke-interface {v1, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    :goto_0
    iput-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->t:Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    .line 58
    :goto_1
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->t:Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    iget-object v3, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->u:Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    if-eq v1, v3, :cond_3

    .line 59
    iput-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->u:Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    .line 60
    :cond_3
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->t:Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    if-eq v1, v0, :cond_4

    if-eqz v1, :cond_4

    .line 61
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->E:Lcom/esfile/screen/recorder/videos/edit/ui/b$b;

    if-eqz v0, :cond_4

    .line 62
    invoke-interface {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/ui/b$b;->b(Lcom/esfile/screen/recorder/videos/edit/ui/b$g;)V

    .line 63
    :cond_4
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->t:Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    return-object v0
.end method

.method public a(I)Lcom/esfile/screen/recorder/videos/edit/ui/b$g;
    .locals 1

    if-ltz p1, :cond_0

    .line 67
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->b:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-ge p1, v0, :cond_0

    .line 68
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->b:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    return-object p1

    :cond_0
    const/4 p1, 0x0

    return-object p1
.end method

.method public a(F)V
    .locals 0

    .line 27
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->c(F)V

    .line 28
    invoke-virtual {p0}, Landroid/view/View;->invalidate()V

    return-void
.end method

.method public a(JJJ)V
    .locals 3

    .line 16
    invoke-virtual {p0, p1, p2}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->b(J)Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    move-result-object p1

    if-nez p1, :cond_0

    return-void

    .line 17
    :cond_0
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->D:Ljava/util/List;

    invoke-interface {p2, p1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result p2

    const-wide/16 v0, 0x0

    cmp-long v2, p3, v0

    if-ltz v2, :cond_1

    .line 18
    iput-wide p3, p1, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;->b:J

    :cond_1
    cmp-long p3, p5, v0

    if-ltz p3, :cond_2

    .line 19
    iput-wide p5, p1, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;->c:J

    :cond_2
    if-eqz p2, :cond_5

    .line 20
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->getCenterNeedleValue()J

    move-result-wide p2

    .line 21
    iget-wide p4, p1, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;->c:J

    const/high16 p6, 0x3f800000    # 1.0f

    cmp-long v0, p2, p4

    if-lez v0, :cond_3

    sub-long/2addr p4, p2

    .line 22
    iget p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->q:F

    long-to-float p2, p4

    mul-float p1, p1, p2

    sub-float/2addr p1, p6

    goto :goto_0

    .line 23
    :cond_3
    iget-wide p4, p1, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;->b:J

    cmp-long p1, p2, p4

    if-gez p1, :cond_4

    sub-long/2addr p4, p2

    .line 24
    iget p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->q:F

    long-to-float p2, p4

    mul-float p1, p1, p2

    add-float/2addr p1, p6

    goto :goto_0

    :cond_4
    const/4 p1, 0x0

    .line 25
    :goto_0
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->c(F)V

    .line 26
    :cond_5
    invoke-virtual {p0}, Landroid/view/View;->invalidate()V

    return-void
.end method

.method public a(Lcom/esfile/screen/recorder/videos/edit/ui/b$g;)Z
    .locals 3

    .line 64
    iget-wide v0, p1, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;->b:J

    invoke-direct {p0, v0, v1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->f(J)F

    move-result v0

    iget v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->d:I

    int-to-float v1, v1

    sub-float/2addr v0, v1

    .line 65
    iget-wide v1, p1, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;->c:J

    invoke-direct {p0, v1, v2}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->f(J)F

    move-result p1

    iget v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->d:I

    int-to-float v1, v1

    sub-float/2addr p1, v1

    .line 66
    invoke-virtual {p0}, Landroid/view/View;->getWidth()I

    move-result v1

    div-int/lit8 v1, v1, 0x2

    int-to-float v1, v1

    cmpg-float v0, v0, v1

    if-gtz v0, :cond_0

    invoke-virtual {p0}, Landroid/view/View;->getWidth()I

    move-result v0

    div-int/lit8 v0, v0, 0x2

    int-to-float v0, v0

    cmpl-float p1, p1, v0

    if-ltz p1, :cond_0

    const/4 p1, 0x1

    goto :goto_0

    :cond_0
    const/4 p1, 0x0

    :goto_0
    return p1
.end method

.method public b()I
    .locals 4

    .line 53
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->a()Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    move-result-object v0

    const/4 v1, -0x1

    if-nez v0, :cond_0

    return v1

    :cond_0
    const/4 v2, 0x0

    .line 54
    :goto_0
    iget-object v3, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->b:Ljava/util/List;

    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v3

    if-ge v2, v3, :cond_2

    .line 55
    iget-object v3, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->b:Ljava/util/List;

    invoke-interface {v3, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    if-ne v3, v0, :cond_1

    return v2

    :cond_1
    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    :cond_2
    return v1
.end method

.method public b(I)I
    .locals 6

    .line 56
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->b:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    :goto_0
    if-ltz v0, :cond_1

    .line 57
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->b:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    .line 58
    iget-wide v1, v1, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;->c:J

    int-to-long v3, p1

    cmp-long v5, v1, v3

    if-gez v5, :cond_0

    return v0

    :cond_0
    add-int/lit8 v0, v0, -0x1

    goto :goto_0

    :cond_1
    const/4 p1, -0x1

    return p1
.end method

.method public b(J)Lcom/esfile/screen/recorder/videos/edit/ui/b$g;
    .locals 5

    .line 5
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->b:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_1

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    .line 6
    iget-wide v2, v1, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;->a:J

    cmp-long v4, v2, p1

    if-nez v4, :cond_0

    return-object v1

    :cond_1
    const/4 p1, 0x0

    return-object p1
.end method

.method public b(JJ)Z
    .locals 4

    add-long/2addr p3, p1

    .line 3
    iget-wide v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->a:J

    const/4 v2, 0x0

    cmp-long v3, p3, v0

    if-lez v3, :cond_0

    return v2

    .line 4
    :cond_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->A:Lcom/esfile/screen/recorder/videos/edit/ui/b$d;

    if-eqz v0, :cond_1

    invoke-virtual {v0, p1, p2, p3, p4}, Lcom/esfile/screen/recorder/videos/edit/ui/b$d;->a(JJ)Z

    move-result p1

    if-eqz p1, :cond_2

    :cond_1
    const/4 v2, 0x1

    :cond_2
    return v2
.end method

.method public c(J)Z
    .locals 6

    .line 2
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->getCenterNeedleValue()J

    move-result-wide v0

    add-long/2addr p1, v0

    .line 3
    iget-wide v2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->a:J

    const/4 v4, 0x0

    cmp-long v5, p1, v2

    if-lez v5, :cond_0

    return v4

    .line 4
    :cond_0
    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->A:Lcom/esfile/screen/recorder/videos/edit/ui/b$d;

    if-eqz v2, :cond_1

    invoke-virtual {v2, v0, v1, p1, p2}, Lcom/esfile/screen/recorder/videos/edit/ui/b$d;->a(JJ)Z

    move-result p1

    if-eqz p1, :cond_2

    :cond_1
    const/4 v4, 0x1

    :cond_2
    return v4
.end method

.method public d(J)V
    .locals 6

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->b:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    const/4 v2, 0x0

    if-eqz v1, :cond_1

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    .line 3
    iget-wide v3, v1, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;->a:J

    cmp-long v5, v3, p1

    if-nez v5, :cond_0

    goto :goto_0

    :cond_1
    move-object v1, v2

    :goto_0
    if-eqz v1, :cond_4

    .line 4
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->b:Ljava/util/List;

    invoke-interface {p1, v1}, Ljava/util/List;->remove(Ljava/lang/Object;)Z

    .line 5
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->u:Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    if-ne v1, p1, :cond_2

    .line 6
    iput-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->u:Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    .line 7
    :cond_2
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->t:Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    if-ne v1, p1, :cond_3

    .line 8
    iput-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->t:Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    .line 9
    :cond_3
    invoke-direct {p0, v1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->c(Lcom/esfile/screen/recorder/videos/edit/ui/b$g;)V

    .line 10
    :cond_4
    invoke-virtual {p0}, Landroid/view/View;->invalidate()V

    return-void
.end method

.method public e(J)Z
    .locals 2

    .line 4
    invoke-virtual {p0, p1, p2}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->b(J)Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    move-result-object p1

    if-eqz p1, :cond_1

    .line 5
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->t:Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    if-eq p1, p2, :cond_1

    .line 6
    invoke-virtual {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->a(Lcom/esfile/screen/recorder/videos/edit/ui/b$g;)Z

    move-result p2

    if-nez p2, :cond_0

    .line 7
    iget-wide v0, p1, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;->b:J

    invoke-virtual {p0, v0, v1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->setCenterNeedleValue(J)V

    .line 8
    :cond_0
    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->u:Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    .line 9
    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->t:Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    .line 10
    invoke-virtual {p0}, Landroid/view/View;->invalidate()V

    const/4 p1, 0x1

    return p1

    :cond_1
    const/4 p1, 0x0

    return p1
.end method

.method public getAllSnippets()Ljava/util/List;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Lcom/esfile/screen/recorder/videos/edit/ui/b$g;",
            ">;"
        }
    .end annotation

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->b:Ljava/util/List;

    return-object v0
.end method

.method public getCenterNeedleValue()J
    .locals 5

    .line 1
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->d:I

    int-to-float v0, v0

    iget v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->q:F

    div-float/2addr v0, v1

    float-to-long v0, v0

    const-wide/16 v2, 0x0

    cmp-long v4, v0, v2

    if-gez v4, :cond_0

    :goto_0
    move-wide v0, v2

    goto :goto_1

    .line 2
    :cond_0
    iget-wide v2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->a:J

    cmp-long v4, v0, v2

    if-lez v4, :cond_1

    goto :goto_0

    :cond_1
    :goto_1
    return-wide v0
.end method

.method public getCenterSnippets()Ljava/util/List;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Lcom/esfile/screen/recorder/videos/edit/ui/b$g;",
            ">;"
        }
    .end annotation

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->D:Ljava/util/List;

    return-object v0
.end method

.method protected onDraw(Landroid/graphics/Canvas;)V
    .locals 3

    .line 1
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->a()Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    move-result-object v0

    .line 2
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->b:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_0

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    .line 3
    invoke-direct {p0, p1, v2}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->a(Landroid/graphics/Canvas;Lcom/esfile/screen/recorder/videos/edit/ui/b$g;)V

    goto :goto_0

    :cond_0
    if-eqz v0, :cond_1

    .line 4
    invoke-direct {p0, p1, v0}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->b(Landroid/graphics/Canvas;Lcom/esfile/screen/recorder/videos/edit/ui/b$g;)V

    .line 5
    :cond_1
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->a(Landroid/graphics/Canvas;)V

    return-void
.end method

.method public onTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 9

    .line 1
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v0

    .line 2
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v1

    const/4 v2, 0x0

    const/4 v3, 0x2

    const/4 v4, 0x1

    if-eqz v0, :cond_d

    if-eq v0, v4, :cond_a

    if-eq v0, v3, :cond_0

    const/4 v1, 0x3

    if-eq v0, v1, :cond_a

    goto/16 :goto_4

    .line 3
    :cond_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->t:Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    if-eqz v0, :cond_5

    iget v2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->w:I

    if-nez v2, :cond_1

    goto :goto_0

    :cond_1
    if-ne v2, v4, :cond_3

    .line 4
    iget v2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->d:I

    int-to-float v2, v2

    add-float/2addr v2, v1

    invoke-direct {p0, v2}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->b(F)J

    move-result-wide v5

    iput-wide v5, v0, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;->b:J

    .line 5
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->A:Lcom/esfile/screen/recorder/videos/edit/ui/b$d;

    if-eqz v0, :cond_2

    .line 6
    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->t:Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    invoke-virtual {v0, v2}, Lcom/esfile/screen/recorder/videos/edit/ui/b$d;->a(Lcom/esfile/screen/recorder/videos/edit/ui/b$g;)V

    .line 7
    :cond_2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->t:Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;->a()V

    goto :goto_1

    :cond_3
    if-ne v2, v3, :cond_6

    .line 8
    iget v2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->d:I

    int-to-float v2, v2

    add-float/2addr v2, v1

    invoke-direct {p0, v2}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->b(F)J

    move-result-wide v5

    iput-wide v5, v0, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;->c:J

    .line 9
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->A:Lcom/esfile/screen/recorder/videos/edit/ui/b$d;

    if-eqz v0, :cond_4

    .line 10
    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->t:Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    invoke-virtual {v0, v2}, Lcom/esfile/screen/recorder/videos/edit/ui/b$d;->a(Lcom/esfile/screen/recorder/videos/edit/ui/b$g;)V

    .line 11
    :cond_4
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->t:Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    iget-wide v5, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->a:J

    invoke-virtual {v0, v5, v6}, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;->a(J)V

    goto :goto_1

    .line 12
    :cond_5
    :goto_0
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->r:F

    sub-float/2addr v0, v1

    invoke-direct {p0, v0}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->c(F)V

    .line 13
    :cond_6
    :goto_1
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->w:I

    if-eqz v0, :cond_7

    .line 14
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->d()V

    .line 15
    :cond_7
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->x:Lcom/esfile/screen/recorder/videos/edit/ui/b$f;

    if-eqz v0, :cond_9

    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->t:Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    if-eqz v2, :cond_9

    .line 16
    iget v5, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->w:I

    if-ne v5, v4, :cond_8

    .line 17
    iget-wide v2, v2, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;->b:J

    invoke-interface {v0, v5, v2, v3}, Lcom/esfile/screen/recorder/videos/edit/ui/b$f;->a(IJ)V

    goto :goto_2

    :cond_8
    if-ne v5, v3, :cond_9

    .line 18
    iget-wide v2, v2, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;->c:J

    invoke-interface {v0, v5, v2, v3}, Lcom/esfile/screen/recorder/videos/edit/ui/b$f;->a(IJ)V

    .line 19
    :cond_9
    :goto_2
    iput v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->r:F

    goto/16 :goto_4

    .line 20
    :cond_a
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->e()V

    .line 21
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->t:Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    if-eqz v0, :cond_b

    iget v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->w:I

    if-eqz v1, :cond_b

    .line 22
    invoke-direct {p0, v0}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->d(Lcom/esfile/screen/recorder/videos/edit/ui/b$g;)V

    .line 23
    :cond_b
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->x:Lcom/esfile/screen/recorder/videos/edit/ui/b$f;

    if-eqz v0, :cond_c

    .line 24
    iget v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->w:I

    invoke-interface {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/ui/b$f;->a(I)V

    .line 25
    :cond_c
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->f()V

    const/4 v0, 0x0

    .line 26
    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->v:Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    .line 27
    iput v2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->w:I

    const/high16 v0, -0x40800000    # -1.0f

    .line 28
    iput v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->r:F

    goto :goto_4

    .line 29
    :cond_d
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->a()Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    move-result-object v0

    if-nez v0, :cond_e

    .line 30
    iput v2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->w:I

    goto :goto_3

    .line 31
    :cond_e
    iget-wide v5, v0, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;->b:J

    invoke-direct {p0, v5, v6}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->f(J)F

    move-result v5

    iget v6, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->d:I

    int-to-float v6, v6

    sub-float/2addr v5, v6

    .line 32
    iget-wide v6, v0, Lcom/esfile/screen/recorder/videos/edit/ui/b$g;->c:J

    invoke-direct {p0, v6, v7}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->f(J)F

    move-result v6

    iget v7, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->d:I

    int-to-float v7, v7

    sub-float/2addr v6, v7

    .line 33
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->getSliderWidth()I

    move-result v7

    int-to-float v7, v7

    sub-float v8, v5, v7

    cmpl-float v8, v1, v8

    if-lez v8, :cond_f

    add-float/2addr v5, v7

    cmpg-float v5, v1, v5

    if-gez v5, :cond_f

    .line 34
    iput v4, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->w:I

    goto :goto_3

    :cond_f
    sub-float v5, v6, v7

    cmpl-float v5, v1, v5

    if-lez v5, :cond_10

    add-float/2addr v6, v7

    cmpg-float v5, v1, v6

    if-gez v5, :cond_10

    .line 35
    iput v3, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->w:I

    goto :goto_3

    .line 36
    :cond_10
    iput v2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->w:I

    .line 37
    :goto_3
    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->x:Lcom/esfile/screen/recorder/videos/edit/ui/b$f;

    if-eqz v2, :cond_11

    .line 38
    iget v3, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->w:I

    invoke-interface {v2, v3}, Lcom/esfile/screen/recorder/videos/edit/ui/b$f;->b(I)V

    .line 39
    :cond_11
    iput v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->r:F

    .line 40
    iput v1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->s:F

    .line 41
    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->v:Lcom/esfile/screen/recorder/videos/edit/ui/b$g;

    .line 42
    :goto_4
    invoke-virtual {p0}, Landroid/view/View;->invalidate()V

    .line 43
    invoke-super {p0, p1}, Landroid/view/View;->onTouchEvent(Landroid/view/MotionEvent;)Z

    return v4
.end method

.method public setCenterNeedleValue(J)V
    .locals 1

    .line 1
    invoke-direct {p0, p1, p2}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->f(J)F

    move-result p1

    invoke-virtual {p0}, Landroid/view/View;->getWidth()I

    move-result p2

    div-int/lit8 p2, p2, 0x2

    int-to-float p2, p2

    sub-float/2addr p1, p2

    float-to-int p1, p1

    .line 2
    iget p2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->r:F

    const/4 v0, 0x0

    cmpl-float p2, p2, v0

    if-ltz p2, :cond_0

    return-void

    .line 3
    :cond_0
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->C:Lcom/esfile/screen/recorder/videos/edit/ui/b$c;

    const/4 v0, 0x0

    .line 4
    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->C:Lcom/esfile/screen/recorder/videos/edit/ui/b$c;

    .line 5
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->d:I

    sub-int/2addr p1, v0

    int-to-float p1, p1

    invoke-virtual {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->a(F)V

    .line 6
    iput-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->C:Lcom/esfile/screen/recorder/videos/edit/ui/b$c;

    return-void
.end method

.method public setCenterSnippetListener(Lcom/esfile/screen/recorder/videos/edit/ui/b$b;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->E:Lcom/esfile/screen/recorder/videos/edit/ui/b$b;

    return-void
.end method

.method public setCenterValueChangeListener(Lcom/esfile/screen/recorder/videos/edit/ui/b$c;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->C:Lcom/esfile/screen/recorder/videos/edit/ui/b$c;

    return-void
.end method

.method public setMaskHeight(I)V
    .locals 0

    .line 1
    iput p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->h:I

    .line 2
    invoke-virtual {p0}, Landroid/view/View;->invalidate()V

    return-void
.end method

.method public setMaxValue(J)V
    .locals 0

    .line 1
    iput-wide p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->a:J

    return-void
.end method

.method public setNeedOccupyChecker(Z)V
    .locals 1

    if-eqz p1, :cond_0

    .line 1
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->A:Lcom/esfile/screen/recorder/videos/edit/ui/b$d;

    if-nez p1, :cond_1

    .line 2
    new-instance p1, Lcom/esfile/screen/recorder/videos/edit/ui/b$d;

    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->b:Ljava/util/List;

    invoke-direct {p1, p0, v0}, Lcom/esfile/screen/recorder/videos/edit/ui/b$d;-><init>(Lcom/esfile/screen/recorder/videos/edit/ui/b;Ljava/util/List;)V

    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->A:Lcom/esfile/screen/recorder/videos/edit/ui/b$d;

    goto :goto_0

    :cond_0
    const/4 p1, 0x0

    .line 3
    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->A:Lcom/esfile/screen/recorder/videos/edit/ui/b$d;

    :cond_1
    :goto_0
    return-void
.end method

.method public setOnOffsetChangeListener(Lcom/esfile/screen/recorder/videos/edit/ui/b$e;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->B:Lcom/esfile/screen/recorder/videos/edit/ui/b$e;

    return-void
.end method

.method public setRatio(F)V
    .locals 2

    .line 1
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->d:I

    int-to-float v0, v0

    invoke-direct {p0, v0}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->b(F)J

    move-result-wide v0

    .line 2
    iput p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->q:F

    .line 3
    invoke-direct {p0, v0, v1}, Lcom/esfile/screen/recorder/videos/edit/ui/b;->f(J)F

    move-result p1

    float-to-int p1, p1

    iput p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->d:I

    .line 4
    invoke-virtual {p0}, Landroid/view/View;->invalidate()V

    return-void
.end method

.method public setSlideListener(Lcom/esfile/screen/recorder/videos/edit/ui/b$f;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/ui/b;->x:Lcom/esfile/screen/recorder/videos/edit/ui/b$f;

    return-void
.end method
